package horoskop;

/**
 * Created with IntelliJ IDEA.
 * User: admin
 * Date: 11.06.14
 * Time: 19:37
 * To change this template use File | Settings | File Templates.
 */
import java.lang.*;
import java.util.Random;

public class Horoskop {
    private String horoskopName;

    public Horoskop() {
        String[] arrayZodiak = {"oven", "telec", "bliznecy", "rak", "lev", "deva", "vesy", "skorpion", "strelec", "kozerog", "vodoley", "ryby"};
        Random random = new Random();

        this.horoskopName = arrayZodiak[random.nextInt(11)];
    }
    public Horoskop(String horoskopName) {
        this.horoskopName = horoskopName;
    }

    public String toString() {
        System.out.print(this.horoskopName + ": ");
        if (this.horoskopName.equals("oven")) {
                return "aaaaaaaa;";
            } else if (this.horoskopName.equals("telec")) {
                return "bbbbbbbb;";
            } else if (this.horoskopName.equals("bliznecy")) {
                return "cccccccc;";
            } else if (this.horoskopName.equals("rak")) {
                return "dddddddd;";
            } else if (this.horoskopName.equals("lev")) {
                return "eeeeeeee;";
            } else if (this.horoskopName.equals("deva")) {
                return "ffffffff;";
            } else if (this.horoskopName.equals("vesy")) {
                return "gggggggg;";
            } else if (this.horoskopName.equals("skorpion")) {
                return "hhhhhhhh;";
            } else if (this.horoskopName.equals("strelec")) {
                return "iiiiiiii;";
            } else if (this.horoskopName.equals("kozerog")) {
                return "kkkkkkkk;";
            } else if (this.horoskopName.equals("vodoley")) {
                return "llllllll;";
            } else if (this.horoskopName.equals("ryby")) {
                return "mmmmmmmm;";
            }
            return "Wrong horoskope name";
    }
}
